package org.example.product.mapper;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface OrderMapper {

    int  addOrder(String OrderCode,String userphone,String Goods_code,double total_amount,String Goods_name,String buyphone);

    List<Map<String,Object>>displayOrderU(String user_phone);

    List<Map<String,Object>>displayOrderB(String Buyers_phone);

    int updateStatus(String code,String status);
}
